package com.dede.mypermission;

/**
 * @author hsh
 * @date 2017/8/22 14:46.
 * @doc
 */
public class Permission {

    private String permission = "";
    private boolean grantResult = false;
    private boolean shouldShowRequestPermissionRationale = true;
    private int requestCode = -1;

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public boolean isGrantResult() {
        return grantResult;
    }

    public void setGrantResult(boolean grantResult) {
        this.grantResult = grantResult;
    }

    public boolean isShouldShowRequestPermissionRationale() {
        return shouldShowRequestPermissionRationale;
    }

    public void setShouldShowRequestPermissionRationale(boolean shouldShowRequestPermissionRationale) {
        this.shouldShowRequestPermissionRationale = shouldShowRequestPermissionRationale;
    }

    public int getRequestCode() {
        return requestCode;
    }

    public void setRequestCode(int requestCode) {
        this.requestCode = requestCode;
    }
}
